<include file="Public/mobile_head"/>
<link href="{:ADDON_PUBLIC_PATH}/card.css?v={:SITE_VERSION}" rel="stylesheet" type="text/css">
<body>
<div class="container body">
    <div class="p_10 top_line">
        <h5 class="page_title">服务评价</h5>
        <!-- 表单 -->
        <form class="m_15">
            <!-- 基础文档模型 -->
            <div class="block_content_bg">
                <div class="block_content_top">
                    <h6><img width="40px" src="{:ADDON_PUBLIC_PATH}/evalute.png" />服务打分</h6>
                </div>
                <div class="p_10">
                    <div id="ypdetail" class="ypdetail">
                        <foreach name="prodres" item="proditem" key="o_key">
                            <div class="form-item ypdetailitem">
                                <div class="controls tb">
                                    <div class="flex_0 ypdetailth">
                                        <b>药品名称:</b>
                                    </div>
                                    <div class="flex_3 ypcolor">
                                        {$proditem.prod_name}
                                    </div>
                                </div>
                                <div class="controls tb">
                                    <div class="flex_1"><b>数量:</b></div>
                                    <div class="flex_1 ypcolor">
                                        {$proditem.prod_num}{$proditem.monad}
                                    </div>
                                    <div class="flex_1"><b>总计:</b></div>
                                    <div class="flex_1 ypcolor">{$proditem.money}元</div>
                                </div>
                                <div class="controls tb">
                                    <div class="flex_0 ypdetailth">
                                        <b>用药提醒:</b>
                                    </div>
                                    <div class="flex_3 ypcolor h72">
                                        {$proditem.prod_yfyl}
                                    </div>
                                </div>
                                <div class="controls tb">
                                    <div class="flex_0 ypdetailth">
                                    </div>
                                    <div class="flex_3">
                                        <a class="seefullbtn">查看全部</a>
                                    </div>
                                </div>
                            </div>
                        </foreach>
                    </div>
                    <a id="showypdetailbtn" class="textbutton">点击查看消费明细</a>
                </div>
                <div class="single_item_line"></div>
                <div class="p_10">
                    <div class="form-item cf">
                        <div class="controls tb">
                            <div class="flex_1">店堂整洁:</div>
                            <div id="star1" class="flex_3 star">
                                <ul>
                                    <li><a href="javascript:;">1</a></li>
                                    <li><a href="javascript:;">2</a></li>
                                    <li><a href="javascript:;">3</a></li>
                                    <li><a href="javascript:;">4</a></li>
                                    <li><a href="javascript:;">5</a></li>
                                </ul>
                                <span></span>
                            </div>
                        </div>
                    </div>
                    <div class="form-item cf">
                        <div class="controls tb">
                            <div class="flex_1">服务态度:</div>
                            <div id="star2" class="flex_3 star">
                                <ul>
                                    <li><a href="javascript:;">1</a></li>
                                    <li><a href="javascript:;">2</a></li>
                                    <li><a href="javascript:;">3</a></li>
                                    <li><a href="javascript:;">4</a></li>
                                    <li><a href="javascript:;">5</a></li>
                                </ul>
                                <span></span>
                            </div>
                        </div>
                    </div>
                    <div class="form-item cf">
                        <div class="controls tb">
                            <div class="flex_1">专业水平:</div>
                            <div id="star3" class="flex_3 star">
                                <ul>
                                    <li><a href="javascript:;">1</a></li>
                                    <li><a href="javascript:;">2</a></li>
                                    <li><a href="javascript:;">3</a></li>
                                    <li><a href="javascript:;">4</a></li>
                                    <li><a href="javascript:;">5</a></li>
                                </ul>
                                <span></span>
                            </div>
                        </div>
                    </div>
                    <div class="form-item cf">
                        <label class="item-label">点评:</label>
                        <div class="controls">
                            <textarea placeholder="请输入本次服务点评" id="evaluatecontent" name="content" class="text input-large">{$info.content}</textarea>
                        </div>
                    </div>
                </div>
                <div style="display: none">
                    <input name="istar1" id="istar1" value="{$info.score2}" />
                    <input name="istar2" id="istar2" value="{$info.score3}" />
                    <input name="istar3" id="istar3" value="{$info.score1}" />
                    <input name="listid" id="listid" value="{$data.listid}" />
                    <input name="mdcode" id="mdcode" value="{$data.com_md_code}" />
                    <input name="dbid" id="dbid" value="{$data.com_db_id}" />
                </div>
            </div>
            <div class="form-item pt_10">
                <button class="home_btn submit-btn mb_10 flex_1" id="submit" type="button">确  定</button>
            </div>
        </form>
    </div>
</div>
<script>
    var evaluate = {
        postEvaluate:"{:U('postEvaluate')}",
        showcostRecord:"{:addons_url('Card://Card/costRecord')}"
    }
</script>
<script src="{:ADDON_PUBLIC_PATH}/scripts/evaluate.js?v={:SITE_VERSION}"></script>
</body>
</html>
